<!DOCTYPE html>
<html lang="en">
<head th:insert="/admin/common/head::css"></head>
<body>
<div th:insert="/admin/common/header::header" ></div>
<!--  main  -->
<div class="container-fluid">
  <div class="row-fluid">
    <div th:insert="/admin/common/side::side" ></div>
    <!-- content -->
    <div style="display: flex; flex-direction: column">
      <div class="span10" id="content">
        <div class="row-fluid">
          <!-- block -->
          <div class="block">
            <div class="block-content collapse in">
              <div>
                收到的消息
              </div>
              <div class="span12" style="display: flex; flex-direction: column" th:each = "msg : ${messages}">
                <div style="display: flex;flex-direction: column">
                  <div>
                    <a th:href="@{/admin/message/detailandAdd(id = ${msg.conversationId})}" >
                      [[ ${msg.content} ]]
                    </a>
                  </div>
                  <div style="display: flex;flex-direction: row">
                    [[ ${msg.fromUser.username} ]]
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!-- /block -->
        </div>
      </div>
    </div>
    <!-- content -->
  </div>
</div>
<!--  main  -->
</body>
<div th:insert="/admin/common/footer::js" ></div>

</html>